﻿CREATE PROCEDURE [dbo].[proc_Company_Range_GetlistCount]
	(
		@CompanyId int,
		@SText nvarchar(50)
	)
AS
	Select Count(Id) From Company_RangeUsers 
	Where (@CompanyId=0 Or CompanyId=@CompanyId) and (EName like '%'+ @SText +'%') 
	RETURN

